<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>夏季新品连衣裙限时7折优惠 | SocialMart</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #2563eb;
            --primary-light: #eff6ff;
            --secondary: #ec4899;
            --success: #10b981;
            --warning: #f59e0b;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --light-gray: #e2e8f0;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .main-container {
            padding: 2rem 0;
        }
        
        .breadcrumb {
            margin-bottom: 1.5rem;
            background-color: transparent;
            padding: 0;
        }
        
        .breadcrumb-item a {
            color: var(--gray);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--dark);
        }
        
        .promo-detail-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        .promo-images {
            display: grid;
            grid-template-columns: 1fr 4fr;
            gap: 1rem;
            background-color: #f9fafb;
            padding: 1rem;
        }
        
        .thumbnail-container {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .thumbnail {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        
        .thumbnail.active {
            border-color: var(--primary);
        }
        
        .main-image-container {
            position: relative;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .main-image {
            max-width: 100%;
            max-height: 500px;
            object-fit: contain;
            border-radius: 6px;
        }
        
        .promo-info {
            padding: 1.5rem;
        }
        
        .promo-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .promo-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .promo-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-info {
            display: flex;
            flex-direction: column;
        }
        
        .author-name {
            font-weight: 600;
        }
        
        .post-time {
            color: var(--gray);
            font-size: 0.85rem;
        }
        
        .verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            color: var(--primary);
            font-size: 0.85rem;
        }
        
        .promo-price-section {
            background-color: var(--primary-light);
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
        }
        
        .price-container {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }
        
        .original-price {
            color: var(--gray);
            text-decoration: line-through;
            font-size: 1.1rem;
        }
        
        .discount-price {
            color: var(--secondary);
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .discount-tag {
            background-color: var(--secondary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .promo-timer {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--warning);
            font-weight: 600;
        }
        
        .timer-countdown {
            display: flex;
            gap: 0.5rem;
        }
        
        .timer-box {
            background-color: white;
            width: 36px;
            height: 36px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .promo-actions {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .btn-primary-action {
            flex: 2;
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.85rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: background-color 0.2s;
        }
        
        .btn-primary-action:hover {
            background-color: #1d4ed8;
        }
        
        .btn-secondary-action {
            flex: 1;
            background-color: white;
            border: 1px solid var(--light-gray);
            color: var(--dark);
            padding: 0.85rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }
        
        .btn-secondary-action:hover {
            background-color: var(--light);
            border-color: var(--gray);
        }
        
        .promo-details {
            padding: 1.5rem;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        
        .section-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .detail-content {
            color: var(--dark);
            line-height: 1.8;
        }
        
        .detail-content p {
            margin-bottom: 1rem;
        }
        
        .detail-content img {
            max-width: 100%;
            border-radius: 8px;
            margin: 1.5rem 0;
        }
        
        .specifications {
            margin: 1.5rem 0;
        }
        
        .spec-item {
            display: flex;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .spec-label {
            flex: 0 0 120px;
            color: var(--gray);
        }
        
        .spec-value {
            flex: 1;
        }
        
        .promo-metrics {
            display: flex;
            justify-content: space-around;
            padding: 1rem 0;
            border-top: 1px solid var(--light-gray);
            border-bottom: 1px solid var(--light-gray);
            margin: 1.5rem 0;
        }
        
        .metric-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .metric-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }
        
        .metric-label {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .comments-section {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 1.5rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-count {
            font-weight: 600;
        }
        
        .comment-sort {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .comment-sort select {
            border: none;
            background: none;
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            padding: 0;
        }
        
        .comment-form {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-input-container {
            flex: 1;
        }
        
        .comment-input {
            width: 100%;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            padding: 1rem;
            resize: none;
            min-height: 100px;
            margin-bottom: 0.75rem;
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        .btn-cancel {
            background: none;
            border: none;
            color: var(--gray);
            padding: 0.5rem 1rem;
            cursor: pointer;
        }
        
        .btn-post {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
        }
        
        .comment-list {
            margin-bottom: 2rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .comment-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .comment-time {
            color: var(--gray);
            font-size: 0.8rem;
        }
        
        .comment-text {
            margin-bottom: 0.75rem;
            color: var(--dark);
        }
        
        .comment-actions {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
        }
        
        .comment-action {
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 0.25rem;
            cursor: pointer;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--secondary);
        }
        
        .replies {
            margin-left: 2.5rem;
            margin-top: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .reply-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .reply-content {
            flex: 1;
        }
        
        .reply-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }
        
        .reply-author {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .reply-time {
            color: var(--gray);
            font-size: 0.75rem;
        }
        
        .reply-text {
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .reply-to {
            color: var(--primary);
            font-weight: 600;
        }
        
        .reply-form {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.75rem;
        }
        
        .reply-input {
            flex: 1;
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
        }
        
        .btn-reply {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .related-promotions {
            margin-top: 3rem;
        }
        
        .related-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }
        
        .related-item {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.2s;
        }
        
        .related-item:hover {
            transform: translateY(-5px);
        }
        
        .related-image {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        
        .related-info {
            padding: 1rem;
        }
        
        .related-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .related-price {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .related-original {
            color: var(--gray);
            text-decoration: line-through;
            font-size: 0.8rem;
        }
        
        .related-discount {
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        @media (max-width: 992px) {
            .promo-images {
                grid-template-columns: 1fr;
            }
            
            .thumbnail-container {
                flex-direction: row;
                overflow-x: auto;
                padding-bottom: 0.5rem;
            }
            
            .thumbnail {
                min-width: 80px;
                height: 80px;
            }
            
            .main-image-container {
                min-height: 300px;
            }
            
            .promo-actions {
                flex-direction: column;
            }
            
            .btn-primary-action, .btn-secondary-action {
                width: 100%;
                flex: none;
            }
        }
        
        @media (max-width: 768px) {
            .promo-title {
                font-size: 1.5rem;
            }
            
            .promo-meta {
                flex-direction: column;
                gap: 1rem;
            }
            
            .promo-metrics {
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .metric-item {
                flex: 1 1 100px;
            }
            
            .related-list {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .timer-countdown {
                gap: 0.25rem;
            }
            
            .timer-box {
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }
            
            .comment-form {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .comments-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg py-3">
        <div class="container">
            <a href="#" class="logo">
                <i class="fas fa-shopping-bag"></i>
                SocialMart
            </a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            
            <div class="collapse navbar-collapse justify-content-center">
                <div class="search-bar mx-auto" style="max-width: 500px; width: 100%;">
                    <div class="input-group">
                        <span class="input-group-text bg-transparent border-right-0">
                            <i class="fas fa-search text-gray-400"></i>
                        </span>
                        <input type="text" class="form-control border-left-0" placeholder="搜索促销信息、品牌或商品...">
                    </div>
                </div>
            </div>
            
            <div class="navbar-nav ms-auto align-items-center gap-3">
                <a href="#" class="nav-link"><i class="fas fa-home"></i></a>
                <a href="#" class="nav-link"><i class="fas fa-bell"></i></a>
                <a href="#" class="nav-link"><i class="fas fa-message"></i></a>
                <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="rounded-circle" style="width: 38px; height: 38px; object-fit: cover;">
            </div>
        </div>
    </nav>
    
    <div class="container main-container">
        <!-- 面包屑导航 -->
        <nav class="breadcrumb">
            <li class="breadcrumb-item"><a href="#">首页</a></li>
            <li class="breadcrumb-item"><a href="#">促销信息</a></li>
            <li class="breadcrumb-item"><a href="#">服装鞋帽</a></li>
            <li class="breadcrumb-item active">夏季新品连衣裙限时7折优惠</li>
        </nav>
        
        <!-- 促销详情卡片 -->
        <div class="promo-detail-card">
            <!-- 促销图片展示 -->
            <div class="promo-images">
                <div class="thumbnail-container">
                    <img src="https://picsum.photos/600/400?random=20" alt="夏季连衣裙图片1" class="thumbnail active">
                    <img src="https://picsum.photos/600/400?random=21" alt="夏季连衣裙图片2" class="thumbnail">
                    <img src="https://picsum.photos/600/400?random=22" alt="夏季连衣裙图片3" class="thumbnail">
                    <img src="https://picsum.photos/600/400?random=23" alt="夏季连衣裙图片4" class="thumbnail">
                </div>
                <div class="main-image-container">
                    <img src="https://picsum.photos/600/400?random=20" alt="夏季连衣裙主图" class="main-image">
                </div>
            </div>
            
            <!-- 促销信息 -->
            <div class="promo-info">
                <h1 class="promo-title">夏季新品连衣裙限时7折优惠</h1>
                
                <div class="promo-meta">
                    <div class="promo-author">
                        <img src="https://picsum.photos/100/100?random=10" alt="时尚精选官方账号头像" class="author-avatar">
                        <div class="author-info">
                            <div class="d-flex align-items-center gap-1">
                                <span class="author-name">时尚精选</span>
                                <span class="verified-badge"><i class="fas fa-check-circle"></i> 官方认证</span>
                            </div>
                            <span class="post-time">发布于 2小时前</span>
                        </div>
                    </div>
                </div>
                
                <div class="promo-price-section">
                    <div class="price-container">
                        <span class="original-price">¥399</span>
                        <span class="discount-price">¥279</span>
                        <span class="discount-tag">30% OFF</span>
                    </div>
                    <div class="promo-timer">
                        <i class="fas fa-clock"></i>
                        <span>限时优惠剩余：</span>
                        <div class="timer-countdown">
                            <div class="timer-box">2</div>
                            <span>天</span>
                            <div class="timer-box">18</div>
                            <span>时</span>
                            <div class="timer-box">45</div>
                            <span>分</span>
                        </div>
                    </div>
                </div>
                
                <div class="promo-actions">
                    <button class="btn-primary-action">
                        <i class="fas fa-shopping-cart"></i> 立即购买
                    </button>
                    <button class="btn-secondary-action like-btn">
                        <i class="far fa-heart"></i> 收藏
                    </button>
                    <button class="btn-secondary-action share-btn">
                        <i class="fas fa-share-alt"></i> 分享
                    </button>
                </div>
                
                <div class="promo-metrics">
                    <div class="metric-item">
                        <span class="metric-value">1.2k</span>
                        <span class="metric-label">浏览量</span>
                    </div>
                    <div class="metric-item">
                        <span class="metric-value">128</span>
                        <span class="metric-label">点赞</span>
                    </div>
                    <div class="metric-item">
                        <span class="metric-value">36</span>
                        <span class="metric-label">评论</span>
                    </div>
                    <div class="metric-item">
                        <span class="metric-value">89</span>
                        <span class="metric-label">收藏</span>
                    </div>
                    <div class="metric-item">
                        <span class="metric-value">42</span>
                        <span class="metric-label">分享</span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 促销详情内容 -->
        <div class="promo-details">
            <h2 class="section-title">促销详情</h2>
            <div class="detail-content">
                <p>夏季新款连衣裙，采用优质透气面料，舒适亲肤，适合各种场合穿着。多种款式和颜色可选，满足不同搭配需求。</p>
                
                <img src="https://picsum.photos/800/500?random=30" alt="夏季连衣裙细节展示">
                
                <p>本次促销活动限时3天，全场连衣裙7折优惠，部分款式低至5折。购买两件及以上可享受额外9.5折优惠，新用户注册可再减20元。</p>
                
                <h3>产品特点：</h3>
                <ul>
                    <li>采用透气棉麻混纺面料，舒适亲肤</li>
                    <li>多种花色和款式可选，适合不同场合</li>
                    <li>修身设计，展现优雅身姿</li>
                    <li>机洗不变形，易于打理</li>
                    <li>尺码齐全，从XS到XL均有销售</li>
                </ul>
                
                <div class="specifications">
                    <h3>规格参数</h3>
                    <div class="spec-item">
                        <div class="spec-label">品牌</div>
                        <div class="spec-value">Fashion Style</div>
                    </div>
                    <div class="spec-item">
                        <div class="spec-label">材质</div>
                        <div class="spec-value">棉麻混纺</div>
                    </div>
                    <div class="spec-item">
                        <div class="spec-label">颜色</div>
                        <div class="spec-value">白色、黑色、浅蓝色、粉色、碎花</div>
                    </div>
                    <div class="spec-item">
                        <div class="spec-label">尺码</div>
                        <div class="spec-value">XS, S, M, L, XL</div>
                    </div>
                    <div class="spec-item">
                        <div class="spec-label">产地</div>
                        <div class="spec-value">中国</div>
                    </div>
                    <div class="spec-item">
                        <div class="spec-label">活动时间</div>
                        <div class="spec-value">2023年7月1日 - 2023年7月3日</div>
                    </div>
                </div>
                
                <p>活动说明：</p>
                <ol>
                    <li>本次活动不与店内其他优惠同时使用</li>
                    <li>活动商品支持7天无理由退换，但需保持商品原貌</li>
                    <li>订单满299元免运费，不满需支付10元运费</li>
                    <li>活动最终解释权归本店所有</li>
                </ol>
            </div>
        </div>
        
        <!-- 评论区 -->
        <div class="comments-section">
            <div class="comments-header">
                <h2 class="section-title comments-count">用户评论 (36)</h2>
                <div class="comment-sort">
                    排序方式：
                    <select id="commentSort">
                        <option value="latest">最新发布</option>
                        <option value="popular">热门评论</option>
                    </select>
                </div>
            </div>
            
            <!-- 评论输入框 -->
            <div class="comment-form">
                <img src="https://picsum.photos/100/100?random=1" alt="当前用户头像" class="user-avatar">
                <div class="comment-input-container">
                    <textarea class="comment-input" placeholder="分享你的看法..."></textarea>
                    <div class="comment-actions">
                        <button class="btn-cancel">取消</button>
                        <button class="btn-post">发布评论</button>
                    </div>
                </div>
            </div>
            
            <!-- 评论列表 -->
            <div class="comment-list">
                <!-- 评论1 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=50" alt="用户头像" class="comment-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <span class="comment-author">美丽心情</span>
                            <span class="comment-time">1小时前</span>
                        </div>
                        <div class="comment-text">
                            这件连衣裙我上周就买了，面料很舒服，透气性好，夏天穿也不会觉得热。款式也很百搭，值得购买！
                        </div>
                        <div class="comment-actions">
                            <div class="comment-action like-comment">
                                <i class="far fa-heart"></i> 24
                            </div>
                            <div class="comment-action reply-btn">
                                <i class="far fa-comment"></i> 回复
                            </div>
                        </div>
                        
                        <!-- 回复 -->
                        <div class="replies">
                            <div class="reply-item">
                                <img src="https://picsum.photos/100/100?random=10" alt="作者头像" class="reply-avatar">
                                <div class="reply-content">
                                    <div class="reply-header">
                                        <span class="reply-author">时尚精选 <span class="verified-badge"><i class="fas fa-check-circle"></i></span></span>
                                        <span class="reply-time">45分钟前</span>
                                    </div>
                                    <div class="reply-text">
                                        感谢您的喜爱和支持，我们会继续努力提供更多优质产品！
                                    </div>
                                    <div class="comment-actions">
                                        <div class="comment-action like-reply">
                                            <i class="far fa-heart"></i> 5
                                        </div>
                                        <div class="comment-action reply-btn">
                                            <i class="far fa-comment"></i> 回复
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 回复输入框 -->
                            <div class="reply-form">
                                <img src="https://picsum.photos/100/100?random=1" alt="当前用户头像" class="reply-avatar">
                                <input type="text" class="reply-input" placeholder="回复 @美丽心情...">
                                <button class="btn-reply">回复</button>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论2 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=51" alt="用户头像" class="comment-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <span class="comment-author">时尚达人</span>
                            <span class="comment-time">3小时前</span>
                        </div>
                        <div class="comment-text">
                            请问这款连衣裙有大码吗？我平时穿XXL，担心尺码不够。另外想知道洗涤时有什么需要注意的？
                        </div>
                        <div class="comment-actions">
                            <div class="comment-action like-comment">
                                <i class="far fa-heart"></i> 8
                            </div>
                            <div class="comment-action reply-btn">
                                <i class="far fa-comment"></i> 回复
                            </div>
                        </div>
                        
                        <!-- 回复 -->
                        <div class="replies">
                            <div class="reply-item">
                                <img src="https://picsum.photos/100/100?random=10" alt="作者头像" class="reply-avatar">
                                <div class="reply-content">
                                    <div class="reply-header">
                                        <span class="reply-author">时尚精选 <span class="verified-badge"><i class="fas fa-check-circle"></i></span></span>
                                        <span class="reply-time">2小时前</span>
                                    </div>
                                    <div class="reply-text">
                                        <span class="reply-to">@时尚达人</span> 您好，目前这款连衣裙最大尺码是XL，但版型偏宽松，您可以参考商品详情页的尺码表。洗涤时建议冷水轻柔洗涤，避免暴晒哦~
                                    </div>
                                    <div class="comment-actions">
                                        <div class="comment-action like-reply">
                                            <i class="far fa-heart"></i> 2
                                        </div>
                                        <div class="comment-action reply-btn">
                                            <i class="far fa-comment"></i> 回复
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 评论3 -->
                <div class="comment-item">
                    <img src="https://picsum.photos/100/100?random=52" alt="用户头像" class="comment-avatar">
                    <div class="comment-content">
                        <div class="comment-header">
                            <span class="comment-author">夏日阳光</span>
                            <span class="comment-time">昨天</span>
                        </div>
                        <div class="comment-text">
                            促销力度很大，已经下单两件了，期待收货！希望能快点发货~
                        </div>
                        <div class="comment-actions">
                            <div class="comment-action like-comment liked">
                                <i class="fas fa-heart"></i> 15
                            </div>
                            <div class="comment-action reply-btn">
                                <i class="far fa-comment"></i> 回复
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 加载更多评论 -->
            <div class="text-center">
                <button class="btn btn-outline-primary">
                    加载更多评论
                </button>
            </div>
        </div>
        
        <!-- 相关促销 -->
        <div class="related-promotions">
            <h2 class="section-title">相关促销</h2>
            <div class="related-list">
                <div class="related-item">
                    <img src="https://picsum.photos/600/400?random=60" alt="夏季短裤促销图片" class="related-image">
                    <div class="related-info">
                        <h3 class="related-title">夏季新款短裤，限时8折优惠</h3>
                        <div class="related-price">
                            <span class="related-original">¥199</span>
                            <span class="related-discount">¥159</span>
                        </div>
                    </div>
                </div>
                <div class="related-item">
                    <img src="https://picsum.photos/600/400?random=61" alt="女士T恤促销图片" class="related-image">
                    <div class="related-info">
                        <h3 class="related-title">纯棉女士T恤，买二送一</h3>
                        <div class="related-price">
                            <span class="related-original">¥129</span>
                            <span class="related-discount">¥86</span>
                        </div>
                    </div>
                </div>
                <div class="related-item">
                    <img src="https://picsum.photos/600/400?random=62" alt="凉鞋促销图片" class="related-image">
                    <div class="related-info">
                        <h3 class="related-title">夏季凉鞋新品上市，立减50元</h3>
                        <div class="related-price">
                            <span class="related-original">¥299</span>
                            <span class="related-discount">¥249</span>
                        </div>
                    </div>
                </div>
                <div class="related-item">
                    <img src="https://picsum.photos/600/400?random=63" alt="女士包包促销图片" class="related-image">
                    <div class="related-info">
                        <h3 class="related-title">时尚女士包包，夏季特惠6折起</h3>
                        <div class="related-price">
                            <span class="related-original">¥399</span>
                            <span class="related-discount">¥239</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 图片缩略图切换
            const thumbnails = document.querySelectorAll('.thumbnail');
            const mainImage = document.querySelector('.main-image');
            
            thumbnails.forEach(thumbnail => {
                thumbnail.addEventListener('click', function() {
                    // 更新主图
                    mainImage.src = this.src;
                    
                    // 更新活跃状态
                    thumbnails.forEach(t => t.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 点赞功能
            const likeBtn = document.querySelector('.like-btn');
            likeBtn.addEventListener('click', function() {
                this.classList.toggle('liked');
                const icon = this.querySelector('i');
                
                if (this.classList.contains('liked')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    this.innerHTML = '<i class="fas fa-heart"></i> 已收藏';
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    this.innerHTML = '<i class="far fa-heart"></i> 收藏';
                }
            });
            
            // 评论点赞
            const likeComments = document.querySelectorAll('.like-comment');
            likeComments.forEach(likeBtn => {
                likeBtn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    const countSpan = this.childNodes[2];
                    let count = parseInt(countSpan.textContent.trim());
                    
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        countSpan.textContent = ` ${count + 1}`;
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        countSpan.textContent = ` ${count - 1}`;
                    }
                });
            });
            
            // 回复点赞
            const likeReplies = document.querySelectorAll('.like-reply');
            likeReplies.forEach(likeBtn => {
                likeBtn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    const countSpan = this.childNodes[2];
                    let count = parseInt(countSpan.textContent.trim());
                    
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        countSpan.textContent = ` ${count + 1}`;
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        countSpan.textContent = ` ${count - 1}`;
                    }
                });
            });
            
            // 显示回复框
            const replyBtns = document.querySelectorAll('.reply-btn');
            replyBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    // 在当前评论/回复下方显示回复框
                    const commentItem = this.closest('.comment-item, .reply-item');
                    const existingReplyForm = commentItem.querySelector('.reply-form');
                    
                    // 如果已有回复框则移除，否则添加
                    if (existingReplyForm) {
                        existingReplyForm.remove();
                    } else {
                        const replyTo = this.closest('.comment-content, .reply-content').querySelector('.comment-author, .reply-author').textContent.trim();
                        const replyForm = document.createElement('div');
                        replyForm.className = 'reply-form';
                        replyForm.innerHTML = `
                            <img src="https://picsum.photos/100/100?random=1" alt="当前用户头像" class="reply-avatar">
                            <input type="text" class="reply-input" placeholder="回复 @${replyTo}...">
                            <button class="btn-reply">回复</button>
                        `;
                        
                        // 添加到相应位置
                        if (this.closest('.comment-content')) {
                            const repliesContainer = this.closest('.comment-content').querySelector('.replies') || document.createElement('div');
                            if (!this.closest('.comment-content').querySelector('.replies')) {
                                repliesContainer.className = 'replies';
                                this.closest('.comment-content').appendChild(repliesContainer);
                            }
                            repliesContainer.appendChild(replyForm);
                        } else {
                            this.closest('.reply-content').parentNode.appendChild(replyForm);
                        }
                        
                        // 回复按钮事件
                        replyForm.querySelector('.btn-reply').addEventListener('click', function() {
                            const replyText = replyForm.querySelector('.reply-input').value;
                            if (replyText.trim()) {
                                // 这里可以添加提交回复的逻辑
                                alert(`回复成功: ${replyText}`);
                                replyForm.remove();
                            }
                        });
                    }
                });
            });
            
            // 发布评论
            const postCommentBtn = document.querySelector('.btn-post');
            postCommentBtn.addEventListener('click', function() {
                const commentText = document.querySelector('.comment-input').value;
                if (commentText.trim()) {
                    // 这里可以添加发布评论的逻辑
                    alert(`评论发布成功: ${commentText}`);
                    document.querySelector('.comment-input').value = '';
                }
            });
            
            // 取消评论
            const cancelCommentBtn = document.querySelector('.btn-cancel');
            cancelCommentBtn.addEventListener('click', function() {
                document.querySelector('.comment-input').value = '';
            });
            
            // 分享功能
            const shareBtn = document.querySelector('.share-btn');
            shareBtn.addEventListener('click', function() {
                alert('分享链接已复制到剪贴板！');
            });
        });
    </script>
</body>
</html>
    
